package com.limh.chip

//import android.os.Bundle
//
//import io.flutter.app.FlutterActivity
//import io.flutter.plugins.GeneratedPluginRegistrant
import io.flutter.embedding.android.FlutterActivity;
import cn.smssdk.flutter.MobsmsPlugin
import com.mob.MobSDK

class MainActivity: FlutterActivity() {
//  override fun onCreate(savedInstanceState: Bundle?) {
//    super.onCreate(savedInstanceState)
//    GeneratedPluginRegistrant.registerWith(this)
    // 注册SMSSDK Flutter插件
//    MobsmsPlugin.registerWith(registrarFor(MobsmsPlugin.CHANNEL));
    // 初始化SMSSDK
//    MobSDK.init(this, "2b4e37327beda", "04125cfc06dc330a56c6e804ca8f00e4");
//  }

  override fun onDestroy() {
    super.onDestroy()
    MobsmsPlugin.recycle();
  }
}
